package com.nvt.core.dao.de;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import com.nvt.core.objectDomain.TestVO;

public class SpRowMapper implements RowMapper<TestVO> {

	@Override
	public TestVO mapRow(ResultSet rs, int rowNum) throws SQLException {
		TestVO testVO = new TestVO();
		testVO.setColumn1(rs.getString("column1"));
		testVO.setColumn2(rs.getString("column2"));
		testVO.setColumn3(rs.getString("column3"));
		testVO.setColumn4(rs.getString("column4"));
		testVO.setColumn5(rs.getString("column5"));
		return testVO;
	}

}
